/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utils.manga;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author killan
 */
public class Manga {

    private List<Chapter> cap;
    protected String nameManga;

    public Manga(String name) {
        this.cap = new ArrayList<Chapter>();
        this.nameManga = name;
    }

    public void addChapter(String index) {
        this.cap.add(new Chapter(index,this));
    }
}
